package com.yudean.esb.dao.erp;

import com.yudean.esb.domain.erp.ErpIdsInvVoucher;
import com.yudean.esb.mapper.erp.ErpIdsInvVoucherMapper;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Repository;

import javax.annotation.Resource;
import java.util.List;

/**
 * ERP回写库存凭证信息
 */
@Repository
@Scope("prototype")
public class ErpIdsInvVoucherDao {
    @Resource
    private ErpIdsInvVoucherMapper erpIdsInvVoucherMapper;

    public List<ErpIdsInvVoucher> getInvVoucherInfo(String compCode, String beginDate, String endDate) {
        return erpIdsInvVoucherMapper.getInvVoucherInfo(compCode, beginDate, endDate);
    }
}